WC_Asaas\Gateway\Gateway A

Total Complexity 58
Dependencies 11
Dependents 13
Total lines 501
Lines of code 212
Logical lines of code 127
Comment lines 204
Methods 26
Properties 8

Methods 26

Method Rating Maintainability Complexity Lines of code
set_customer()
S
49 6 30
enable_disable_customer_notifications()
S
56 5 17
is_available()
S
59 4 14
process_admin_options()
S
59 4 14
process_admin_shared_options()
S
59 4 13
get_customer()
S
63 4 11
send_checkout_failure()
S
58 3 16
get_shared_fields()
S
65 4 9
get_order_total()
S
62 3 10
add_checkout_validation_errors()
S
68 2 7
validate_min_total_field()
S
68 2 7
init_logger()
S
68 2 7
send_checkout_failure_response()
S
69 2 7
__construct()
S
58 1 14
add_payment_id_to_order()
S
76 1 4
validate_fields()
S
80 1 3
replace_config_url()
S
80 1 3
add_validation_errors()
S
75 1 4
init_form_fields()
S
80 1 3
get_error_code()
S
82 1 3
get_logger()
S
82 1 3
get_admin_settings()
S
82 1 3
get_type()
S
82 1 3
get_api_key()
S
82 1 3
setup_api()
S
75 1 4
prefix()
S
100 1 0